package com.hk.service.order.impl;

import com.hk.domain.entity.OperateLogDo;
import com.hk.domain.entity.SaveOrder;
import com.hk.service.order.Convert;

/**
 * @author: dpb
 * @Description TODO
 * @date: 2022/12/6 23:54
 * @Version 1.0
 */
public class SaveOrderConvert implements Convert<SaveOrder> {

    @Override
    public OperateLogDo covert(SaveOrder saveOrder) {
        OperateLogDo operateLogDo = new OperateLogDo();
        operateLogDo.setOrderId(saveOrder.getId());
        return operateLogDo;
    }
}
